from django import forms
from hoj.judge.models import LANGUAGE_CHOICES

class SubmitForm(forms.Form):
    problem = forms.IntegerField()
    language = forms.ChoiceField(widget=forms.Select, choices = LANGUAGE_CHOICES)
    source_code = forms.CharField(widget=forms.Textarea(attrs={'rows': '20', 'cols': '80'}))
    #add reset button
